package com.weather.domen;

import com.weather.pojo.entity.AreaInfo;
import com.weather.pojo.vo.AreaInfoVO;

import java.util.List;

public interface AreaDomeService {
    List<AreaInfoVO> getAreaInfoList();

    // Add new area information
    boolean addAreaInfo(AreaInfo areaInfo);

    // Update existing area information
    boolean updateAreaInfo(AreaInfo areaInfo);

    // Delete area information with a check for associated devices
    boolean deleteAreaInfo(Long areaId);
}
